<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
    <title></title>
    <script src="JS/react.js"></script>
    <script src="JS/react-dom.js"></script>
	<script src="JS/browser.min.js"></script>
  </head>
  <body>
    <div id="example"></div>   
    <script type="text/babel">
      function getTime() {
        var element = <div>现在时间：{new Date().toLocaleTimeString()}</div>;
        ReactDOM.render(
                element,
                document.getElementById('example')
        );
      }
      setInterval(getTime, 1000);
	</script>
  </body>
</html>
